﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace ERP.ERPModels.Production.ProductionManagement
{
    /// <summary>
    /// 客户订单
    /// </summary>
    public class CustomerOrders : Entity<int>
    {

        /// <summary>
        /// 订单编码
        /// </summary>
        public string OrderCode { get; set; }

        /// <summary>
        /// 订单编码
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 订单编码
        /// </summary>
        public string CustomerCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 订货日期
        /// </summary>
        public DateTime OrderDate { get; set; }

        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime DeliveryDate { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 订货数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 订单状态   0 草稿   1 已生成生产工单
        /// </summary>
        public int OrderStatus { get; set; }

        /// <summary>
        /// 质量要求说明
        /// </summary>
        public string QualityRequirements { get; set; }
    }
}
